<%--
  Created by IntelliJ IDEA.
  User: WT-SUN
  Date: 2017/4/26
  Time: 9:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html>
<head>
    <title>防护设施</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/occupationalHealth/facility/info.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <%--<a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>--%>
</div>
<div class="information">
    <div class="information-title">
        <p>防护设施基本信息</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <div class="cuttle">
        <form id="formInfoFacility" method="POST">
            <div>
                <div class="form_one" >
                    <label class="lable-style">设施名称:</label>
                    <input type="text"  class="easyui-textbox" value="${fact.facilitieName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">数量:</label>
                    <input class="easyui-numberspinner formInput"  style="width: 240px;" value="0" value="${fact.facilitieNum}"   data-options="readonly:true">
                </div>
                <div class="form_one">
                    <label class="lable-style">工作场所:</label>
                    <input name="workPlace" type="text" class="easyui-textbox" data-options="readonly:true" value="${fact.workPlace}"
                           style="width: 240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">编号:</label>
                    <input data-options="readonly:true" type="text" class="easyui-textbox" value="${fact.facilitieCode==null?"":fact.facilitieCode}"  style="width: 240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">责任人:</label>
                    <input type="text"  class="easyui-textbox" value="${fact.personLiableName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">竣工日期:</label>
                    <input class="easyui-datebox" data-options="readonly:true" style="width: 240px;" name="finalDate" value="${fact.finalDate==null?"":fact.finalDate}">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one" style="width: 720px;">
                    <label class="lable-style">危害因素:</label>
                    <input type="text"  class="easyui-textbox" value="${fact.hazardFactorName}"
                           style="width:600px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">投资(万元):</label>
                    <input class="easyui-numberspinner formInput"  style="width: 240px;" value="${fact.investment}" name="investment" data-options="readonly:true">
                </div>
            </div>
            <div class="district-wrap" style="clear: both">
                <div class="form_one">
                    <label class="lable-style">设施类型:</label>
                    <input type="text"  class="easyui-textbox" value="${fact.facilitieTypeName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">使用情况:</label>
                    <input type="text"  class="easyui-textbox" value="${fact.usageName}"
                           style="width:240px;" data-options="readonly:true"/>
                </div>
                <div class="form_one">
                    <label class="lable-style">检修情况:</label>
                    <input id="overHaulQuery" type="text" style="width:240px;" data-options="readonly:true" value="${fact.overHaul}">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">状态:</label>
                    <input id="stateQuery"  type="text" style="width:240px;" data-options="readonly:true" value="${fact.state}">
                </div>
                <div class="form_one">
                    <label class="lable-style">停用日期:</label>
                    <input class="easyui-datebox" style="width: 240px;" data-options="readonly:true" value="${fact.endDate==null?"":fact.endDate}">
                </div>
                <div class="form_one">
                    <label class="lable-style">是完好:</label>
                    <input id="isIntactQuery" name="isIntact" type="text" style="width:240px;" data-options="readonly:true" value="${fact.isIntact}">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two">
                    <label class="lable-style">控制效果:</label>
                    <input name="controlEffect" type="text" class="easyui-textbox" data-options="multiline:true,readonly:true" value="${fact.controlEffect}"
                           style="width: 600px;height: 50px"/>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="information">
    <div class="information-title">
        <p>操作规程附件</p>
        <a href="#"><img src="${ctx}/resources/themes/images/alias_03.png" width="18"></a>
    </div>
    <accessory:accessorySimple permission="" packageKey="facility" uploadUserId="${loginUser.id}" packageInfos="${accessoryList}"
                               accessoryType="txt,docx,doc,xls,xlsx,jpg,png"></accessory:accessorySimple>
</div>
</form>
</body>
</html>
